//
//  MessageInfo.m
//  MyWeChat
//
//  Created by 蔡欣东 on 15/10/5.
//  Copyright © 2015年 蔡欣东. All rights reserved.
//

#import "MessageInfo.h"

@implementation MessageInfo
-(instancetype)initWithId:(int)messageId andBody:(NSString*)messageBody andTime:(float)time andUser:(UserInfo*) user andImageUrl:(NSString *)imageUrl{
    if (self=[super init]) {
        self.messageId = messageId;
        self.messageBody = messageBody;
        self.time = time;
        self.user = user;
        self.messageImageUrl = imageUrl;
    }
    return  self;
}
@end
